import { get, post } from '/@/utils/http/axios';

const listApi = (params) => {
  return get({ url: '/ad/list', params });
};

const createApi = (params) => {
  return post({ url: '/ad/create', params });
};

const updateApi = (params) => {
  return post({ url: '/ad/update', params });
};

const deleteApi = (params) => {
  return post({ url: '/ad/delete', params });
};

export { listApi, createApi, updateApi, deleteApi }; 